// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
// resize.css用来初始化样式文件 
// styles  这里路径做了修改 在build/webpack.base.conf.js中  'styles':resolve('src/assets/styles')
import "styles/reset.css"
// border.css用来处理移动端多倍屏幕1px的边框问题
import "styles/border.css"
// 引入iconfont字体库文件
import "styles/iconfont.css"

//引入首页轮播图文件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

// npm install fastclick -S 解决移动端click 300毫秒延迟的问题，即点透
fastClick.attach(document.body) 

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
